<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ page isELIgnored="false"%>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html charset=utf-8">
<title>커피빈에 오신것을 환영합니다.</title>
<style type="text/css">
p {
	font-size: 30px;
	font-family: HY궁서;
}

q {
	font-size: 13px;
	font-family: 맑은 고딕;
}

r {
	font-size: 13px;
	font-family: HY궁서;
}

center {
	style ="text-align: center";
}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Welcome, Coffee-shop</title>
</head>
<body>
	<center>
		<img
			src="http://postfiles6.naver.net/20121203_277/loving_you__1354463400469qzgVK_JPEG/%C4%BF%C7%C7%BA%F3.JPG?type=w3"
			width="300" height="300">
		<h1>
			<p>The Coffee Bean & Tea Leaf</p>
		</h1>
		<a href="${server_info.logoutPath}"><r>logout</r></a>
	</center>
	<br\>
	<ul>
		<c:forEach items="${shop}" var="s">
			<li>
				<table align="center">
					<tr>
						<th><label><q>테이블</q></label></th>
						<td><c:out value="${s.table}"></c:out></td>
					</tr>
					<tr>
						<th><label><q>상품명</q></label></th>
						<td><c:out value="${s.name}"></c:out></td>
					</tr>
					<tr>
						<th><label><q>사이즈</q></label></th>
						<td><c:out value="${s.size}"></c:out></td>
					</tr>
					<tr>
						<th><label><q>샷</q></label></th>
						<td><c:out value="${s.shot}"></c:out></td>
					</tr>
					<tr>
						<th><label><q>토핑</q></label></th>
						<td><c:out value="${s.whipping}"></c:out></td>
					</tr>
					<tr>
						<th><label><q>우유</q></label></th>
						<td><c:out value="${s.milk}"></c:out></td>
					</tr>
					<tr>
						<th><label><q>수량</q></label></th>
						<td><c:out value="${s.num}"></c:out></td>
					</tr>
					<center>
					<input type="button" name="com_order" id="com_order" value="완료"
						onClick="parent.location ='/server/<c:out value ="${s.table}"/>/order/'" />
						</center>
				</table>
			</li>
		</c:forEach>
	</ul>
	<center>
		<input type="button" name="go_home" id="go_home" value="GO Home"
			onClick="parent.location ='/'" />
	</center>

</body>
</html>